export default (url) => {
  const crud = window.$crud(url);

  const info = (url, params) =>
    window.$axios({
      // url: `http://221.224.136.227/wjscms/cf/service/DBService/QYXXXX`,
      url,
      method: "get",
      meta: {
        isToken: false,
      },
      params: {
        ...params,
        token: process.env.VUE_APP_BASE_WJ_TOKEN,
      },
    });

  return {
    ...crud,

    info,
  };
};
